<template>	
<div></div>
</template>
<script>
    import { mapState } from 'vuex'
	import left from '../../components/aboutUs.vue'
	import { swiper, swiperSlide } from 'vue-awesome-swiper'
    import global from '../../config/global'
	//.substring(0,substrtext.journeyLength)}}{{rstext.eventContent.length>substrtext.journeyLength?'...':''   字数限制
    import '../../js/flexible.debug.js'
    import '../../less/moblie.less'
    export default {
		data() {
			return {
			}
		},
		mounted(){
			
		},
		components: {
			swiper, swiperSlide
		},
		computed: {
			swiper() {
				
			}
		},
		created() {
			this.ajax()
		},
		watch: {
			// 如果路由有变化，会再次执行该方法
			//'$route':""
		},
        computed: mapState({ user: state => state.user }),
		methods:{
			ajax(){
				this.$http.get(global.host+'/cemeteryGrave/grave?hid='+this.$route.query.hid,"")
				.then((response) => {
					window.location.href=response.body.weburl;
				})
				.catch(function (response) {
					
				})
            }
		},
		
		
    }
</script>